package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.DiligenceReportOrder;
import org.apache.ibatis.annotations.Param;

/**
 * 尽调报告订单Mapper接口
 * 
 * @author liuwp
 * @date 2025-08-06
 */
public interface DiligenceReportOrderMapper 
{
    /**
     * 查询尽调报告订单
     * 
     * @param id 尽调报告订单主键
     * @return 尽调报告订单
     */
    public DiligenceReportOrder selectDiligenceReportOrderById(Long id);

    /**
     * 查询尽调报告订单列表
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 尽调报告订单集合
     */
    public List<DiligenceReportOrder> selectDiligenceReportOrderList(DiligenceReportOrder diligenceReportOrder);

    /**
     * 可以业务主键查询一条尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @return 尽调报告订单集合
     */
    public DiligenceReportOrder selectOneDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 新增尽调报告订单
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int insertDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 修改尽调报告订单
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int updateDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 条件修改尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @param diligenceReportOrder 尽调报告订单条件
     * @return 结果
     */
    public int updateDiligenceReportOrderCondition(@Param("diligenceReportOrder") DiligenceReportOrder diligenceReportOrder, @Param("diligenceReportOrderCondition") DiligenceReportOrder diligenceReportOrderCondition);

    /**
     * 删除尽调报告订单
     * 
     * @param id 尽调报告订单主键
     * @return 结果
     */
    public int deleteDiligenceReportOrderById(Long id);

    /**
     * 条件删除尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int deleteDiligenceReportOrderByCondition(DiligenceReportOrder diligenceReportOrder);

    /**
     * 批量删除尽调报告订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDiligenceReportOrderByIds(Long[] ids);
}
